module.exports = (api, options, rootOptions) => {
    api.extendPackage({
        "scripts": {
            "ui": "vue ui",
            "dev": "vue-cli-service serve",
            "build": "vue-cli-service build",
            "lint": "vue-cli-service lint"
        },
        "dependencies": {
            "ant-design-vue": "~1.6.0",
            "axios": "^0.18.0",
            "brotli-webpack-plugin": "^1.1.0",
            "clipboard": "^2.0.6",
            "qrcode": "^1.4.2",
            "vue-router": "^3.0.1",
            "vuex": "^3.1.0"
        },
        "devDependencies": {
            "@gfx/zopfli": "^1.0.11",
            "@vue/cli-plugin-babel": "^3.5.0",
            "@vue/cli-plugin-eslint": "^3.5.0",
            "@vue/cli-service": "^3.5.0",
            "babel-eslint": "^10.0.1",
            "babel-plugin-import": "^1.11.0",
            "babel-plugin-transform-remove-console": "^6.9.4",
            "compression-webpack-plugin": "^2.0.0",
            "echarts": "^4.2.1",
            "eslint": "^5.8.0",
            "eslint-plugin-vue": "^5.0.0",
            "less": "^3.9.0",
            "less-loader": "^4.1.0",
            "pug": "^2.0.4",
            "pug-plain-loader": "^1.0.0",
            "style-resources-loader": "^1.2.1",
            "svg-sprite-loader": "^4.1.3",
            "vue-template-compiler": "^2.6.0",
            "prettier": "^2.0.5"
        }
    })

    api.render('../template')
}